package com.vincent.redispractise.dbClass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vincent.redispractise.dbClass.entity.SeckillVoucher;
import com.vincent.redispractise.dbClass.entity.VoucherOrder;

public interface SeckillVoucherService extends IService<SeckillVoucher> {
    String seckill1(Long id);
    String seckill2(Long id);
    String seckill3(Long id,Long userId);

    String purchaseVoucher(Long id, SeckillVoucher seckillVoucher, Long userId);

    void purchaseVoucherSyn(VoucherOrder order);

    String seckill4(Long id, Long userId);

    String seckill5(Long id, Long userId);

    void loadStock(Long id);

    String seckill6(Long id, Long userId);
}
